home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / extcentry.z / extcentry
Encoding:
Text File  |  2002-10-03  |  1.5 KB  |  33 lines

  1. EXTCENTRY(1)                                           Last changed: 1-5-99
  2.  
  3.  
  4. NNAAMMEE
  5.      eexxttcceennttrryy - Extract FORTRAN-callable entry points from a C file
  6.  
  7. SSYYNNOOPPSSIISS
  8.      eexxttcceennttrryy _i_n_f_i_l_e _o_u_t_f_i_l_e
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      IRIX systems
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      eexxttcceennttrryy is used to extract C functions for which FORTRAN-callable
  15.      interface routines (wrappers) are to be generated by the program
  16.      mmkkff22cc(1).  eexxttcceennttrryy accepts as input any C file (_i_n_f_i_l_e), and outputs
  17.      (to _o_u_t_f_i_l_e) only those portions which are surrounded by the special
  18.      comments /* _C_E_N_T_R_Y * and /* _E_N_D_C_E_N_T_R_Y */.
  19.  
  20.      The first step in generating a FORTRAN-to-C interface routine is to
  21.      surround only those C functions for which entry points are to be
  22.      generated by these special comments and to run the file through
  23.      eexxttcceennttrryy.  The FORTRAN-to-C interface generator program, mmkkff22cc, can
  24.      then be invoked on the resultant file to generate the assembly
  25.      language wrapper.  This is necessary because mmkkff22cc understands only a
  26.      limited subset of the C grammar, and cannot parse such constructs as
  27.      external declarations, typedefs, and C-preprocessor directives.
  28.  
  29. SSEEEE AALLSSOO
  30.      mmkkff22cc(1)
  31.  
  32.      This man page is available only online.
  33.